package hu.tortavar2.client.view.adminpages;

import java.util.List;

import hu.tortavar2.shared.ProductCategory;
import hu.tortavar2.shared.Shop;

import com.google.gwt.place.shared.Place;
import com.google.gwt.user.client.ui.IsWidget;

public interface AddNewProductPage extends IsWidget {

	void setPresenter(Presenter presenter);
	void submitAddNewProductForm();
	void setCategory(List<ProductCategory> category);
	void setBlobstoreUploadUrl(String uploadUrl);
	
	
	public interface Presenter {
		void goTo(Place place);
		void onAddNewProductClicked();
		void refreshCategory();
		void getBlobstoreUploadUrl();
	}
}
